package com.glela.platform.model;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * @author liujie
 * 
 * 推广渠道表Model
 * add by liujie 2016-03-15 
 *
 */
public class PromotionChannel{

	private int id;
	/**
	 * 渠道名称
	 */
    private String name;
	/**
	 * 渠道描述
	 */
    private String desc;
    /**
     * 赠品id
     */
    private Integer giftId;
    /**
     * 赠送虚拟币
     */
    private Integer gold;
    /**
     * 赠品数量
     */
    private Integer num;
    /**
     * 创建时间
     */
    private Date createTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getGiftId() {
		return giftId;
	}

	public void setGiftId(Integer giftId) {
		this.giftId = giftId;
	}

	public Integer getGold() {
		return gold;
	}

	public void setGold(Integer gold) {
		this.gold = gold;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString()
	{
		return ReflectionToStringBuilder.reflectionToString(this);
	}

}
